public class D02
{
    public static void main(String[] args) {
        int a = 78 ;
        String s = a >= 60 ?  "通过"  :  "补考" ;
        System.out.println(s);



        int  z = 99 ;
        String x = z >= 90 ?  "优秀" :  z >= 60    ?  "合格"  :  "不合格"  ;
            System.out.println(x);
    }
}
